/**
 * @author zhaozhenjiang
 * 创建数据库安装脚本
 * */

package com.auto.oracle;

final class installRootShell {
	private createFile shell = null;
	private createParams para = null;
	
	public installRootShell(String base_path,String shell_name,createParams para){
		shell = new createFile(base_path, shell_name);
		this.para = para;
	}
	
	public void createFile(){
		shell.init();
		shell.append("#/bin/sh!");
		shell.append(para.getOraclePath() + "/app/oraInventory/orainstRoot.sh");
		shell.append(para.getOraclePath() + "/app/oracle/product/" + para.getVersion() + "/db_1/root.sh");
		shell.close();
		shell = null;
	}	

	@SuppressWarnings("unused")
	private class Decompile{
		
	}
}
